* Compute some totals after sample selection

include choose_version.do

putexcel set $figure_path/cps_results_`version_robust'.xlsx, sheet(transfer_totals) modify open

total snap_impute_val_hh [fw = asecwth]
putexcel C2 = (r(table)[1,1])

total ssi_impute_val_hh [fw = asecwth]
putexcel C3 = (r(table)[1,1])

total housing_assist_impute_val_hh [fw = asecwth]
putexcel C4 = (r(table)[1,1])

total incwelfr_hh [fw = asecwth]
putexcel C5 = (r(table)[1,1])

total mcaid_impute_val_hh [fw = asecwth]
putexcel C6 = (r(table)[1,1])

total ctccrd_hh [fw = asecwth]
putexcel C7 = (r(table)[1,1])

total actccrd_hh [fw = asecwth]
putexcel C8 = (r(table)[1,1])

total eitcred_hh [fw = asecwth]
putexcel C9 = (r(table)[1,1])

putexcel save